package com.xxh.securitydemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxh.securitydemo.model.UmsResource;

import java.util.List;

public interface UmsResourceDao extends BaseMapper<UmsResource> {
    int deleteByPrimaryKey(Long id);

    int insert(UmsResource record);

    int insertSelective(UmsResource record);

    UmsResource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UmsResource record);

    int updateByPrimaryKey(UmsResource record);

    List<UmsResource> getResourceByUid(Long uid);
}